<html>
<head>
<meta http-equiv="content-type" content="text/html; charset=utf-8" />
<title><?php echo $title;?></title>
</head>
<body>
	<div class="c-wrap">
		<div class="head">			
			<span>CHI TIẾT NGÀY CÔNG <img class="ent" src="http://localhost/qlc/media/images/6.png" alt=""></span>						
								
		</div>		
	</div>			
	<div class="myedit4">
		<table>
		<tbody>				
			<ul style=" border-bottom: 1px solid #333333;">
				<li style="color:#000000; width: 100px">STT</li>
				<li class="divider1"></li>
				<li style="color:#000000; width: 200px">Tài khoản</li>
				<li class="divider1"></li>
				<li style="color:#000000; width: 200px">MACAddress</li>
				<li class="divider1"></li>
				<li style="color:#000000; width: 250px">Họ tên</li>
				<li class="divider1"></li>
				<li style="color:#000000; width: 180px">Time Log</li>												
			</ul>				
			</tbody>			
		</table>
		<table>
			<tbody>	
			<?php
			$stt = 0;
			foreach($item as $row){
				$stt++;
				$i = $row['PersonID'];
				$sql = mysql_query("select * from person where id = '$i'");
				$info = mysql_fetch_array($sql);
				
				echo "<ul style='background: #FFFFFF;'>";
				echo "<li class='' style='width: 100px;'>$stt</td>";
				
				echo "<li class='' style='width: 200px;'>$info[account]</li>";
			
				echo "<li class='' style='width: 200px;'>$row[MACAddress]</li>";
				
				echo "<li class='' style='width: 250px;'>$info[name]</li>";				
				
				echo "<li class='' style='width: 180px;'>$row[TimeLog]'</li>";					
												
				echo "</ul>";			
			}
			?>			
			</tbody>
		</table>
	</div>
	
</body>
</html>
